<?php
require_once 'config/config.php';

$ctr = array(
    "login"     => ACT . "user_login" .EXT,
);

require_once CTR_PATH . 'Frontend' . EXT;

$act = Core::getParam("act");
$param = Core::getParam();

if($act == '' || $ajax[$act] == ''){
    $ajax[$act] = ACT . "index";
}

Frontend::$ctr[$act]($param);
?>
